/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package unc.pds.facets;

import unc.pds.model.UserRemote;

/**
 *
 * @author Mikhail
 */
public class UserNameFacet implements Facet {
    public UserNameFacet(UserRemote user) {
        this.user = user;
    }
    UserRemote user;
    public String draw() throws Exception {
        String result = "";
        result += "<h4>Пользователь - "+ user.getNickname() +"</h4>";
        return result;
    }
    public boolean isSide() {
        return false;
    }
}
